ChartTransactionElement
Базовый класс, описывающий элемент диаграммы Orders Or Trades.
Наследует: ChartElement<T>
Реализует: IUltrachartPrimitive, IChartElementEx, IChartElement, IChartPart<IChartElement>, INotifyPropertyChanging, INotifyPropertyChanged, IAsyncPersistable, IChartTransactionElement
Конструкторы
protected ChartTransactionElement()
chartTransactionElement = ChartTransactionElement()
Инициализируйте ChartTransactionElement.
Свойства
public Color BuyColor { get; set; }
value = chartTransactionElement.BuyColor
chartTransactionElement.BuyColor = value
Цвет графического элемента на графике, обозначающий покупку.
public Color BuyStrokeColor { get; set; }
value = chartTransactionElement.BuyStrokeColor
chartTransactionElement.BuyStrokeColor = value
Цвет границы графического элемента на графике, обозначающий покупку.
public double DrawSize { get; set; }
value = chartTransactionElement.DrawSize
chartTransactionElement.DrawSize = value
Размер рисунка.
public Color SellColor { get; set; }
value = chartTransactionElement.SellColor
chartTransactionElement.SellColor = value
Цвет графического элемента на графике, обозначающий продажу.
public Color SellStrokeColor { get; set; }
value = chartTransactionElement.SellStrokeColor
chartTransactionElement.SellStrokeColor = value
Цвет границы графического элемента на графике, указывающий на продажу.
public string Title { get; set; }
value = chartTransactionElement.Title
chartTransactionElement.Title = value
Заголовок серии, который будет показан на графике.
public bool UseAltIcon { get; set; }
value = chartTransactionElement.UseAltIcon
chartTransactionElement.UseAltIcon = value
Используйте альтернативные иконки.
Методы
internal override T CopyTo(T elem)
result = chartTransactionElement.CopyTo(elem)
Скопируйте сообщение в .
- elem
- Copy.
Возвращает: Copy.
protected override string GetGeneratedTitle()
result = chartTransactionElement.GetGeneratedTitle()
Получить сгенерированный заголовок.
Возвращает: Автоматическое создание заголовка элемента диаграммы.
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.LoadAsync(storage, cancellationToken)
Asynchronously loads the state of the object from the specified SettingsStorage.
- storage
- The SettingsStorage instance from which to load the data.
- cancellationToken
- A token to monitor for cancellation requests.
Возвращает: A task that represents the asynchronous load operation.
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = chartTransactionElement.SaveAsync(storage, cancellationToken)
Asynchronously saves the state of the object to the specified SettingsStorage.
- storage
- The SettingsStorage instance to which to save the data.
- cancellationToken
- A token to monitor for cancellation requests.
Возвращает: A task that represents the asynchronous save operation.